<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: H:/project/LibTools/src/socket/internal/SockData.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_9ad1227260954e346101f3844f0abb3d.html">socket</a></li><li class="navelem"><a class="el" href="dir_1865c4ce8b99f52bbeabfd52bfdd7cd3.html">internal</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">SockData.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_sock_data_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef __SOCKDATA_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define __SOCKDATA_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &quot;../../thread/SharedPtr.h&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;../../algorithm/SList.h&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;../SockError.h&quot;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;../../debug/debug.h&quot;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &quot;../SockTools.h&quot;</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="socket_2internal_2_macro_tools_8h.html">MacroTools.h</a>&quot;</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &lt;list&gt;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<a class="code" href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="_sock_data_8h.html#a8edd9f12e1f38ed36c3454c3e26b7ce8">   13</a></span>&#160;<span class="keyword">class </span><a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="class_c_socket.html">CSocket</a>;</div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="_sock_data_8h.html#afac9c6ea0fc8495674bc0dcca66daa8a">   14</a></span>&#160;<span class="keyword">class </span><a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="class_c_basic_service.html">CBasicService</a>;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keyword">struct </span><a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html">OVERLAPPED_EX</a>;</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">struct </span><a class="code" href="struct_sock_data_buffer.html">SockDataBuffer</a>;</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="_sock_data_8h.html#ae8573b45542da05c99e8e2154032d606">   17</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a>(*<a class="code" href="_sock_data_8h.html#ae8573b45542da05c99e8e2154032d606">IoCompleteFunc</a>) (<a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html">OVERLAPPED_EX</a>* <a class="code" href="struct_sock_data_buffer.html#a05c99f04823d5094237adaa232cf21e1">oved</a>);</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#ifdef LINUX</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="struct___w_s_a_b_u_f.html">   20</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct___w_s_a_b_u_f.html">_WSABUF</a> {</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="struct___w_s_a_b_u_f.html#a9b7a712e34972f0fab29243f1793d38c">   21</a></span>&#160;    <a class="code" href="tools_8h.html#af632da489ebc3708ec3ab6791ee53fa4">ULONG</a> <a class="code" href="struct___w_s_a_b_u_f.html#a9b7a712e34972f0fab29243f1793d38c">len</a>;     <span class="comment">/* the length of the buffer */</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="struct___w_s_a_b_u_f.html#a018f049fe75c6f822a1765f16fdcb1f6">   22</a></span>&#160;    <a class="code" href="tools_8h.html#a35cd67ba7bb0db8105eb6267467535d7">CHAR</a> *<a class="code" href="struct___w_s_a_b_u_f.html#a018f049fe75c6f822a1765f16fdcb1f6">buf</a>;     <span class="comment">/* the pointer to the buffer */</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;} <a class="code" href="_sock_data_8h.html#afd23e27301396e012ae7ca64a2c39bf1">WSABUF</a>, *<a class="code" href="_sock_data_8h.html#a2e88710bf13a0fca7a429287485cd56b">LPWSABUF</a>;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="struct_socket_data.html">   29</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_socket_data.html">SocketData</a></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="struct_socket_data.html#a62c02017570cd96f26a03cd06f4e4241">   31</a></span>&#160;    <a class="code" href="tools_8h.html#aff55fe551a9992a54ec54621c524d0a4">SOCKET</a> <a class="code" href="struct_socket_data.html#a62c02017570cd96f26a03cd06f4e4241">_sock</a>;                                           </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="struct_socket_data.html#a4785e336958b99b727152864bcb6eb64">   32</a></span>&#160;    <a class="code" href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488c">SOCKTYPE::SockType</a> <a class="code" href="struct_socket_data.html#a4785e336958b99b727152864bcb6eb64">_type</a>;                               </div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="struct_socket_data.html#ad15841c2a9a6343850b9c6885159a7f7">   33</a></span>&#160;    <a class="code" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672e">SOCKPROTOCOL::SockProtocol</a> <a class="code" href="struct_socket_data.html#ad15841c2a9a6343850b9c6885159a7f7">_protocol</a>;                   </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="struct_socket_data.html#a96788b03903c266a6bc93a639c7ccb8e">   34</a></span>&#160;    <a class="code" href="class_c_sock_addr.html">CSockAddr</a> <a class="code" href="struct_socket_data.html#a96788b03903c266a6bc93a639c7ccb8e">_sockaddr</a>;                                    </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="struct_socket_data.html#aa0eb63e369865fb4ac2fde0bd0b98630">   35</a></span>&#160;    <a class="code" href="class_shared_ptr.html">SharedPtr&lt;SockDataBuffer&gt;</a> <a class="code" href="struct_socket_data.html#aa0eb63e369865fb4ac2fde0bd0b98630">_pServerBuf</a>;                  </div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="struct_socket_data.html#a4ffff3c8536ece3b087e0ff5c4827b8e">   36</a></span>&#160;    <a class="code" href="class_c_basic_service.html">CBasicService</a>* <a class="code" href="struct_socket_data.html#a4ffff3c8536ece3b087e0ff5c4827b8e">_pServer</a>;                                </div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="struct_socket_data.html#a1448e9224cb7f16b19f248ffc9bc1c03">   37</a></span>&#160;    <a class="code" href="struct_socket_data.html#a1448e9224cb7f16b19f248ffc9bc1c03">SocketData</a>()</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    {</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        <a class="code" href="struct_socket_data.html#a62c02017570cd96f26a03cd06f4e4241">_sock</a> = <a class="code" href="tools_8h.html#a26769957ec1a2beaf223f33b66ee64ab">INVALID_SOCKET</a>;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        <a class="code" href="struct_socket_data.html#a4785e336958b99b727152864bcb6eb64">_type</a> = (<a class="code" href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488c">SOCKTYPE::SockType</a>)0;</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        <a class="code" href="struct_socket_data.html#ad15841c2a9a6343850b9c6885159a7f7">_protocol</a> = (<a class="code" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672e">SOCKPROTOCOL::SockProtocol</a>)0;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        <a class="code" href="struct_socket_data.html#a4ffff3c8536ece3b087e0ff5c4827b8e">_pServer</a> = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    }</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="struct_socket_data.html#aa85ad0d9e9974ea7fd58d46e4fb23f2d">   45</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="struct_socket_data.html#aa85ad0d9e9974ea7fd58d46e4fb23f2d">~SocketData</a>() {}</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <a class="code" href="struct_socket_data.html#aaa0cbbd364bc5e208a1fcd524016dba1">delete_class_copy_operator</a>(<a class="code" href="struct_socket_data.html">SocketData</a>);</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;};</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="struct_udp_socket_data.html">   53</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_udp_socket_data.html">UdpSocketData</a> :<span class="keyword">public</span> <a class="code" href="struct_socket_data.html">SocketData</a></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;{</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="struct_udp_socket_data.html#a0eb2097f70fa82b867a39826d4d77358">   55</a></span>&#160;    <a class="code" href="class_c_sock_addr.html">CSockAddr</a> <a class="code" href="struct_udp_socket_data.html#a0eb2097f70fa82b867a39826d4d77358">_remoteSockaddr</a>;                              </div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="struct_udp_socket_data.html#af32209fbf30bd1a793af5bf33755ed5b">   57</a></span>&#160;    <a class="code" href="struct_udp_socket_data.html#af32209fbf30bd1a793af5bf33755ed5b">UdpSocketData</a>() {}</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="struct_udp_socket_data.html#a13f708ce94bacb45ae75cc55fd2a327b">   58</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="struct_udp_socket_data.html#a13f708ce94bacb45ae75cc55fd2a327b">~UdpSocketData</a>() {}</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <a class="code" href="struct_udp_socket_data.html#acf66d1e7cff2aa5ee4990329bf25037a">delete_class_copy_operator</a>(<a class="code" href="struct_udp_socket_data.html">UdpSocketData</a>);</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;};</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html">   63</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html">OVERLAPPED_EX</a></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;{</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="preprocessor">#ifdef WIN32</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    OVERLAPPED oped;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a2696e48028b12aa65b271ec208c5483c">   68</a></span>&#160;    <a class="code" href="class_shared_ptr.html">SharedPtr&lt;HandleBase&gt;</a> <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a2696e48028b12aa65b271ec208c5483c">handle</a>;                           </div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#ab9beeaeecd8e0b6a7e6c341061a6cdb0">   69</a></span>&#160;    <a class="code" href="class_shared_ptr.html">SharedPtr&lt;SocketData&gt;</a> <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#ab9beeaeecd8e0b6a7e6c341061a6cdb0">refCount</a>;                         </div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a46009f6f99e2e4e9e648f51ad55927ef">   70</a></span>&#160;    <a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a46009f6f99e2e4e9e648f51ad55927ef">dwRead</a>;                                           </div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#ae3a09cbbd58ac06dfd92673e3e7130fd">   71</a></span>&#160;    <a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#ae3a09cbbd58ac06dfd92673e3e7130fd">dwWrite</a>;                                          </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a3da45429c23fe76e84378d5dcfd24daa">   72</a></span>&#160;    <a class="code" href="struct___w_s_a_b_u_f.html">WSABUF</a> <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a3da45429c23fe76e84378d5dcfd24daa">wsaPtr</a>;                                          </div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#aa4b473bf1be397a9e437a397f907e69d">   73</a></span>&#160;    <a class="code" href="class_c_sock_addr.html">CSockAddr</a>* <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#aa4b473bf1be397a9e437a397f907e69d">addrbuf</a>;                                     </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a614e5742d57e4905fdf46b8727486b5e">   74</a></span>&#160;    <a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a614e5742d57e4905fdf46b8727486b5e">sockStatus</a>;                                       </div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a29eca265ddf9e8858e7360a27004866b">   75</a></span>&#160;    <a class="code" href="class_c_sock_error.html">CSockError</a> <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a29eca265ddf9e8858e7360a27004866b">sockError</a>;                                   </div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#af6cda33264504094d59752d5725eb8e6">   76</a></span>&#160;    <span class="keywordtype">void</span> *<a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#af6cda33264504094d59752d5725eb8e6">invoker</a>;                                          </div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#ac5d94946afe9714b23a45fce22793b05">   77</a></span>&#160;    <a class="code" href="struct_socket_data.html">SocketData</a>* <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#ac5d94946afe9714b23a45fce22793b05">svrSockData</a>;                                </div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160; </div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a60989ff49c61b6097ad26be2e39c9409">   79</a></span>&#160;    <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a60989ff49c61b6097ad26be2e39c9409">OVERLAPPED_EX</a>(<span class="keyword">const</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;SocketData&gt;</a>&amp; ref)</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    {</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#af6f83c80e48e0529d05206e52b3a2393">Clear</a>();</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#ab9beeaeecd8e0b6a7e6c341061a6cdb0">refCount</a> = ref;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    }</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#af43b0c52ffac00885b8bd2294cd1056a">   85</a></span>&#160;    <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#af43b0c52ffac00885b8bd2294cd1056a">OVERLAPPED_EX</a>()</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    {</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#af6f83c80e48e0529d05206e52b3a2393">Clear</a>();</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    }</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#af6f83c80e48e0529d05206e52b3a2393">   90</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#af6f83c80e48e0529d05206e52b3a2393">Clear</a>()</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    {</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="preprocessor">#ifdef WIN32</span></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        memset(&amp;oped, 0, <span class="keyword">sizeof</span>(oped));</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a2696e48028b12aa65b271ec208c5483c">handle</a>.<a class="code" href="class_shared_ptr.html#a0b0a4c8396bf40f91994f729855c0a5a">Reset</a>(<a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>);</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#ab9beeaeecd8e0b6a7e6c341061a6cdb0">refCount</a>.<a class="code" href="class_shared_ptr.html#a0b0a4c8396bf40f91994f729855c0a5a">Reset</a>(<a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a46009f6f99e2e4e9e648f51ad55927ef">dwRead</a> = 0;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#ae3a09cbbd58ac06dfd92673e3e7130fd">dwWrite</a> = 0;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a3da45429c23fe76e84378d5dcfd24daa">wsaPtr</a>.<a class="code" href="struct___w_s_a_b_u_f.html#a018f049fe75c6f822a1765f16fdcb1f6">buf</a> = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a3da45429c23fe76e84378d5dcfd24daa">wsaPtr</a>.<a class="code" href="struct___w_s_a_b_u_f.html#a9b7a712e34972f0fab29243f1793d38c">len</a> = 0;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;        <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a614e5742d57e4905fdf46b8727486b5e">sockStatus</a> = 0;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a29eca265ddf9e8858e7360a27004866b">sockError</a>.SetError(<a class="code" href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a5a76b20cc3c857f53d6e5e7e817c8959">CSockError::UNINIT</a>);</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;        <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#af6cda33264504094d59752d5725eb8e6">invoker</a> = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;        <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#ac5d94946afe9714b23a45fce22793b05">svrSockData</a> = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#aa4b473bf1be397a9e437a397f907e69d">addrbuf</a> = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    }</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a2ef7c34ff54beccc35e7bf32818eebe8">delete_class_copy_operator</a>(<a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html">OVERLAPPED_EX</a>);</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;};</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="struct_sock_data_buffer.html">  110</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_sock_data_buffer.html">SockDataBuffer</a></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;{</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="struct_sock_data_buffer.html#a05c99f04823d5094237adaa232cf21e1">  112</a></span>&#160;    <a class="code" href="class_shared_ptr.html">SharedPtr&lt;OVERLAPPED_EX&gt;</a> <a class="code" href="struct_sock_data_buffer.html#a05c99f04823d5094237adaa232cf21e1">oved</a>;                          </div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="struct_sock_data_buffer.html#ad55d617e02e179fee61f103f1c7e2034">  113</a></span>&#160;    std::list&lt;SocketData*&gt; <a class="code" href="struct_sock_data_buffer.html#ad55d617e02e179fee61f103f1c7e2034">waitAccepts</a>;                     </div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="struct_sock_data_buffer.html#a55010c98dc7337f4c8c12b2d0cf53118">  114</a></span>&#160;    <a class="code" href="_sock_tools_8h.html#ac7875a7f6984241a06892f7041b4d30a">SOCKIDEN</a> <a class="code" href="struct_sock_data_buffer.html#a55010c98dc7337f4c8c12b2d0cf53118">sockid</a>;                                        </div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="struct_sock_data_buffer.html#a54e1956dee5dbfe6ccfba77bf3b64a9e">  115</a></span>&#160;    <a class="code" href="class_s_list.html">SList&lt;SharedPtr&lt;OVERLAPPED_EX&gt;</a> &gt; <a class="code" href="struct_sock_data_buffer.html#a54e1956dee5dbfe6ccfba77bf3b64a9e">lOverrides</a>[<a class="code" href="socket_2internal_2_macro_tools_8h.html#a6a02b2d1d62293b20242e3dcfbdd0117a0fe13fc305ec60c5bb2c1cf11115ba4c">op_size</a>];   </div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="struct_sock_data_buffer.html#a00d6c264d2731009f0432398f7eea14e">  116</a></span>&#160;    <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="struct_sock_data_buffer.html#a00d6c264d2731009f0432398f7eea14e">isBindService</a>;                                     </div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="preprocessor">#ifdef LINUX</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="struct_sock_data_buffer.html#a73c6e6a42f2ccab10ad8aebae1680245">  118</a></span>&#160;    <a class="code" href="tools_8h.html#ae1e6edbbc26d6fbc71a90190d0266018">UINT32</a> <a class="code" href="struct_sock_data_buffer.html#a73c6e6a42f2ccab10ad8aebae1680245">event</a>;                                           </div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="preprocessor">#elif defined(WIN32)</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="keywordtype">char</span> addrData[128];                                     </div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="struct_sock_data_buffer.html#ae057d059b45c6cf2587678f081dfc23a">  123</a></span>&#160;    <a class="code" href="struct_sock_data_buffer.html#ae057d059b45c6cf2587678f081dfc23a">SockDataBuffer</a>()</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    {</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        <a class="code" href="struct_sock_data_buffer.html#a0028c0cc0c099bcdebb6b50a18ae2b0a">Clear</a>();</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    }</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160; </div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="struct_sock_data_buffer.html#a0028c0cc0c099bcdebb6b50a18ae2b0a">  128</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="struct_sock_data_buffer.html#a0028c0cc0c099bcdebb6b50a18ae2b0a">Clear</a>()</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    {</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="preprocessor">#ifdef LINUX</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        <span class="keyword">event</span> = 0;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="preprocessor">#elif defined(WIN32)</span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        memset(addrData, 0, <span class="keyword">sizeof</span>(addrData));</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        <a class="code" href="struct_sock_data_buffer.html#a00d6c264d2731009f0432398f7eea14e">isBindService</a> = <a class="code" href="tools_8h.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        <a class="code" href="struct_sock_data_buffer.html#a05c99f04823d5094237adaa232cf21e1">oved</a>.<a class="code" href="class_shared_ptr.html#a0b0a4c8396bf40f91994f729855c0a5a">Reset</a>(<a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>);</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;        <a class="code" href="struct_sock_data_buffer.html#a55010c98dc7337f4c8c12b2d0cf53118">sockid</a> = 0;</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="socket_2internal_2_macro_tools_8h.html#a6a02b2d1d62293b20242e3dcfbdd0117a0fe13fc305ec60c5bb2c1cf11115ba4c">op_size</a>; i++) <a class="code" href="struct_sock_data_buffer.html#a54e1956dee5dbfe6ccfba77bf3b64a9e">lOverrides</a>[i].clear();</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        <a class="code" href="struct_sock_data_buffer.html#ad55d617e02e179fee61f103f1c7e2034">waitAccepts</a>.clear();</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    }</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <a class="code" href="struct_sock_data_buffer.html#a05b6f812b3f7731265673059ef2fea7c">delete_class_copy_operator</a>(<a class="code" href="struct_sock_data_buffer.html">SockDataBuffer</a>);</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;};</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160; </div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;std::list&lt;SocketData*&gt;::iterator <a class="code" href="_sock_data_8h.html#a22e8fd426629b0689f839d38cd010ee6">GetWaitAccepts</a>(<a class="code" href="struct_socket_data.html">SocketData</a>&amp; svrSock, <a class="code" href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html">OVERLAPPED_EX</a>* o);</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="_sock_data_8h.html#a969141759a8f54339a1914f4b04253d8">EmptyWaitAccepts</a>(<a class="code" href="struct_socket_data.html">SocketData</a>&amp; svrSock);</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160; </div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="_sock_data_8h.html#a815b52d96de953649d002f722249f797">IsWaitAcceptsEnd</a>(<a class="code" href="struct_socket_data.html">SocketData</a>&amp; svrSock, <span class="keyword">const</span> std::list&lt;SocketData*&gt;::iterator&amp; it);</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160; </div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="keywordtype">void</span> <a class="code" href="_sock_data_8h.html#a8e93d7214f5f4c092164fb0d3ad223ea">PushWaitAccepts</a>(<a class="code" href="struct_socket_data.html">SocketData</a>&amp; svrSock, <a class="code" href="struct_socket_data.html">SocketData</a>&amp; cliSock);</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160; </div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="keywordtype">void</span> <a class="code" href="_sock_data_8h.html#a3ad4f2bcd31cae34aa52ad170ac443db">EraseWaitAccepts</a>(<a class="code" href="struct_socket_data.html">SocketData</a>&amp; svrSock, <span class="keyword">const</span> std::list&lt;SocketData *&gt;::iterator&amp; it);</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160; </div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="keywordtype">void</span> <a class="code" href="_sock_data_8h.html#a3ad4f2bcd31cae34aa52ad170ac443db">EraseWaitAccepts</a>(<a class="code" href="struct_socket_data.html">SocketData</a>&amp; svrSock, <a class="code" href="struct_socket_data.html">SocketData</a>&amp; cliSock);</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160; </div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<a class="code" href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="astruct_socket_data_html_a1448e9224cb7f16b19f248ffc9bc1c03"><div class="ttname"><a href="struct_socket_data.html#a1448e9224cb7f16b19f248ffc9bc1c03">SocketData::SocketData</a></div><div class="ttdeci">SocketData()</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00037">SockData.h:37</a></div></div>
<div class="ttc" id="aclass_s_list_html"><div class="ttname"><a href="class_s_list.html">SList</a></div><div class="ttdoc">单链表 只提供向前访问</div><div class="ttdef"><b>Definition:</b> <a href="_s_list_8h_source.html#l00286">SList.h:286</a></div></div>
<div class="ttc" id="astruct_socket_data_html_aaa0cbbd364bc5e208a1fcd524016dba1"><div class="ttname"><a href="struct_socket_data.html#aaa0cbbd364bc5e208a1fcd524016dba1">SocketData::delete_class_copy_operator</a></div><div class="ttdeci">delete_class_copy_operator(SocketData)</div></div>
<div class="ttc" id="aclass_c_sock_error_html"><div class="ttname"><a href="class_c_sock_error.html">CSockError</a></div><div class="ttdoc">套接字错误信息类</div><div class="ttdef"><b>Definition:</b> <a href="_sock_error_8h_source.html#l00013">SockError.h:13</a></div></div>
<div class="ttc" id="astruct_sock_data_buffer_html_a05b6f812b3f7731265673059ef2fea7c"><div class="ttname"><a href="struct_sock_data_buffer.html#a05b6f812b3f7731265673059ef2fea7c">SockDataBuffer::delete_class_copy_operator</a></div><div class="ttdeci">delete_class_copy_operator(SockDataBuffer)</div></div>
<div class="ttc" id="astruct_sock_data_buffer_html_a73c6e6a42f2ccab10ad8aebae1680245"><div class="ttname"><a href="struct_sock_data_buffer.html#a73c6e6a42f2ccab10ad8aebae1680245">SockDataBuffer::event</a></div><div class="ttdeci">UINT32 event</div><div class="ttdoc">已注册事件</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00118">SockData.h:118</a></div></div>
<div class="ttc" id="astruct_o_v_e_r_l_a_p_p_e_d___e_x_html_aa4b473bf1be397a9e437a397f907e69d"><div class="ttname"><a href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#aa4b473bf1be397a9e437a397f907e69d">OVERLAPPED_EX::addrbuf</a></div><div class="ttdeci">CSockAddr * addrbuf</div><div class="ttdoc">地址信息</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00073">SockData.h:73</a></div></div>
<div class="ttc" id="atools_8h_html_a26769957ec1a2beaf223f33b66ee64ab"><div class="ttname"><a href="tools_8h.html#a26769957ec1a2beaf223f33b66ee64ab">INVALID_SOCKET</a></div><div class="ttdeci">#define INVALID_SOCKET</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00215">tools.h:215</a></div></div>
<div class="ttc" id="astruct_o_v_e_r_l_a_p_p_e_d___e_x_html_a46009f6f99e2e4e9e648f51ad55927ef"><div class="ttname"><a href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a46009f6f99e2e4e9e648f51ad55927ef">OVERLAPPED_EX::dwRead</a></div><div class="ttdeci">DWORD dwRead</div><div class="ttdoc">当前读取的字节数</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00070">SockData.h:70</a></div></div>
<div class="ttc" id="astruct_sock_data_buffer_html_a54e1956dee5dbfe6ccfba77bf3b64a9e"><div class="ttname"><a href="struct_sock_data_buffer.html#a54e1956dee5dbfe6ccfba77bf3b64a9e">SockDataBuffer::lOverrides</a></div><div class="ttdeci">SList&lt; SharedPtr&lt; OVERLAPPED_EX &gt; &gt; lOverrides[op_size]</div><div class="ttdoc">读写队列</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00115">SockData.h:115</a></div></div>
<div class="ttc" id="aclass_shared_ptr_html"><div class="ttname"><a href="class_shared_ptr.html">SharedPtr&lt; SockDataBuffer &gt;</a></div></div>
<div class="ttc" id="astruct_socket_data_html_aa85ad0d9e9974ea7fd58d46e4fb23f2d"><div class="ttname"><a href="struct_socket_data.html#aa85ad0d9e9974ea7fd58d46e4fb23f2d">SocketData::~SocketData</a></div><div class="ttdeci">virtual ~SocketData()</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00045">SockData.h:45</a></div></div>
<div class="ttc" id="astruct_sock_data_buffer_html_a55010c98dc7337f4c8c12b2d0cf53118"><div class="ttname"><a href="struct_sock_data_buffer.html#a55010c98dc7337f4c8c12b2d0cf53118">SockDataBuffer::sockid</a></div><div class="ttdeci">SOCKIDEN sockid</div><div class="ttdoc">SOCKET唯一标识符</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00114">SockData.h:114</a></div></div>
<div class="ttc" id="astruct_o_v_e_r_l_a_p_p_e_d___e_x_html_a2696e48028b12aa65b271ec208c5483c"><div class="ttname"><a href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a2696e48028b12aa65b271ec208c5483c">OVERLAPPED_EX::handle</a></div><div class="ttdeci">SharedPtr&lt; HandleBase &gt; handle</div><div class="ttdoc">用户完成回调函数</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00068">SockData.h:68</a></div></div>
<div class="ttc" id="atools_8h_html_a35cd67ba7bb0db8105eb6267467535d7"><div class="ttname"><a href="tools_8h.html#a35cd67ba7bb0db8105eb6267467535d7">CHAR</a></div><div class="ttdeci">#define CHAR</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00146">tools.h:146</a></div></div>
<div class="ttc" id="astruct___w_s_a_b_u_f_html"><div class="ttname"><a href="struct___w_s_a_b_u_f.html">_WSABUF</a></div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00020">SockData.h:20</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_p_r_o_t_o_c_o_l_html_a6fcb9a12773185f3ca183ad967bb672e"><div class="ttname"><a href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672e">SOCKPROTOCOL::SockProtocol</a></div><div class="ttdeci">SockProtocol</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00031">SocketDef.h:31</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_t_y_p_e_html_ab1b532206487defe92ed4eeae94b488c"><div class="ttname"><a href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488c">SOCKTYPE::SockType</a></div><div class="ttdeci">SockType</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00045">SocketDef.h:45</a></div></div>
<div class="ttc" id="aclass_c_sock_addr_html"><div class="ttname"><a href="class_c_sock_addr.html">CSockAddr</a></div><div class="ttdoc">协议地址结构体</div><div class="ttdef"><b>Definition:</b> <a href="_sock_tools_8h_source.html#l00043">SockTools.h:43</a></div></div>
<div class="ttc" id="a_sock_data_8h_html_a2e88710bf13a0fca7a429287485cd56b"><div class="ttname"><a href="_sock_data_8h.html#a2e88710bf13a0fca7a429287485cd56b">LPWSABUF</a></div><div class="ttdeci">struct _WSABUF * LPWSABUF</div></div>
<div class="ttc" id="astruct_udp_socket_data_html_af32209fbf30bd1a793af5bf33755ed5b"><div class="ttname"><a href="struct_udp_socket_data.html#af32209fbf30bd1a793af5bf33755ed5b">UdpSocketData::UdpSocketData</a></div><div class="ttdeci">UdpSocketData()</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00057">SockData.h:57</a></div></div>
<div class="ttc" id="a_sock_tools_8h_html_ac7875a7f6984241a06892f7041b4d30a"><div class="ttname"><a href="_sock_tools_8h.html#ac7875a7f6984241a06892f7041b4d30a">SOCKIDEN</a></div><div class="ttdeci">DEF_BEG_LIBTOOLS typedef INT64 SOCKIDEN</div><div class="ttdoc">SOCKET唯一标识符ID</div><div class="ttdef"><b>Definition:</b> <a href="_sock_tools_8h_source.html#l00019">SockTools.h:19</a></div></div>
<div class="ttc" id="atools_8h_html_a201ce692c9dca6599e5c12d00167419b"><div class="ttname"><a href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div><div class="ttdeci">#define DEF_BEG_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00036">tools.h:36</a></div></div>
<div class="ttc" id="astruct_sock_data_buffer_html"><div class="ttname"><a href="struct_sock_data_buffer.html">SockDataBuffer</a></div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00110">SockData.h:110</a></div></div>
<div class="ttc" id="astruct_o_v_e_r_l_a_p_p_e_d___e_x_html_af6cda33264504094d59752d5725eb8e6"><div class="ttname"><a href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#af6cda33264504094d59752d5725eb8e6">OVERLAPPED_EX::invoker</a></div><div class="ttdeci">void * invoker</div><div class="ttdoc">用户数据</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00076">SockData.h:76</a></div></div>
<div class="ttc" id="astruct_o_v_e_r_l_a_p_p_e_d___e_x_html_ab9beeaeecd8e0b6a7e6c341061a6cdb0"><div class="ttname"><a href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#ab9beeaeecd8e0b6a7e6c341061a6cdb0">OVERLAPPED_EX::refCount</a></div><div class="ttdeci">SharedPtr&lt; SocketData &gt; refCount</div><div class="ttdoc">socket data引用计数，用于close时增加引用以防止内存提前销毁</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00069">SockData.h:69</a></div></div>
<div class="ttc" id="atools_8h_html_a64152c8b939d1ce06c7c5cb6c97b62f8"><div class="ttname"><a href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a></div><div class="ttdeci">#define LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00095">tools.h:95</a></div></div>
<div class="ttc" id="astruct_udp_socket_data_html_a0eb2097f70fa82b867a39826d4d77358"><div class="ttname"><a href="struct_udp_socket_data.html#a0eb2097f70fa82b867a39826d4d77358">UdpSocketData::_remoteSockaddr</a></div><div class="ttdeci">CSockAddr _remoteSockaddr</div><div class="ttdoc">远程套接口地址</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00055">SockData.h:55</a></div></div>
<div class="ttc" id="a_sock_data_8h_html_afd23e27301396e012ae7ca64a2c39bf1"><div class="ttname"><a href="_sock_data_8h.html#afd23e27301396e012ae7ca64a2c39bf1">WSABUF</a></div><div class="ttdeci">struct _WSABUF WSABUF</div></div>
<div class="ttc" id="a_sock_data_8h_html_a22e8fd426629b0689f839d38cd010ee6"><div class="ttname"><a href="_sock_data_8h.html#a22e8fd426629b0689f839d38cd010ee6">GetWaitAccepts</a></div><div class="ttdeci">std::list&lt; SocketData * &gt;::iterator GetWaitAccepts(SocketData &amp;svrSock, OVERLAPPED_EX *o)</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8cpp_source.html#l00007">SockData.cpp:7</a></div></div>
<div class="ttc" id="astruct_sock_data_buffer_html_a00d6c264d2731009f0432398f7eea14e"><div class="ttname"><a href="struct_sock_data_buffer.html#a00d6c264d2731009f0432398f7eea14e">SockDataBuffer::isBindService</a></div><div class="ttdeci">BOOL isBindService</div><div class="ttdoc">是否已绑定服务</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00116">SockData.h:116</a></div></div>
<div class="ttc" id="a_sock_data_8h_html_a3ad4f2bcd31cae34aa52ad170ac443db"><div class="ttname"><a href="_sock_data_8h.html#a3ad4f2bcd31cae34aa52ad170ac443db">EraseWaitAccepts</a></div><div class="ttdeci">void EraseWaitAccepts(SocketData &amp;svrSock, const std::list&lt; SocketData * &gt;::iterator &amp;it)</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8cpp_source.html#l00036">SockData.cpp:36</a></div></div>
<div class="ttc" id="aclass_c_socket_html"><div class="ttname"><a href="class_c_socket.html">CSocket</a></div><div class="ttdoc">套接口类</div><div class="ttdef"><b>Definition:</b> <a href="_socket_8h_source.html#l00030">Socket.h:30</a></div></div>
<div class="ttc" id="astruct_sock_data_buffer_html_a0028c0cc0c099bcdebb6b50a18ae2b0a"><div class="ttname"><a href="struct_sock_data_buffer.html#a0028c0cc0c099bcdebb6b50a18ae2b0a">SockDataBuffer::Clear</a></div><div class="ttdeci">void Clear()</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00128">SockData.h:128</a></div></div>
<div class="ttc" id="astruct_o_v_e_r_l_a_p_p_e_d___e_x_html_ae3a09cbbd58ac06dfd92673e3e7130fd"><div class="ttname"><a href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#ae3a09cbbd58ac06dfd92673e3e7130fd">OVERLAPPED_EX::dwWrite</a></div><div class="ttdeci">DWORD dwWrite</div><div class="ttdoc">当前写入的字节数</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00071">SockData.h:71</a></div></div>
<div class="ttc" id="astruct___w_s_a_b_u_f_html_a9b7a712e34972f0fab29243f1793d38c"><div class="ttname"><a href="struct___w_s_a_b_u_f.html#a9b7a712e34972f0fab29243f1793d38c">_WSABUF::len</a></div><div class="ttdeci">ULONG len</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00021">SockData.h:21</a></div></div>
<div class="ttc" id="a_sock_data_8h_html_a969141759a8f54339a1914f4b04253d8"><div class="ttname"><a href="_sock_data_8h.html#a969141759a8f54339a1914f4b04253d8">EmptyWaitAccepts</a></div><div class="ttdeci">bool EmptyWaitAccepts(SocketData &amp;svrSock)</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8cpp_source.html#l00021">SockData.cpp:21</a></div></div>
<div class="ttc" id="astruct_o_v_e_r_l_a_p_p_e_d___e_x_html_a3da45429c23fe76e84378d5dcfd24daa"><div class="ttname"><a href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a3da45429c23fe76e84378d5dcfd24daa">OVERLAPPED_EX::wsaPtr</a></div><div class="ttdeci">WSABUF wsaPtr</div><div class="ttdoc">发送或接受缓存区</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00072">SockData.h:72</a></div></div>
<div class="ttc" id="a_sock_data_8h_html_ae8573b45542da05c99e8e2154032d606"><div class="ttname"><a href="_sock_data_8h.html#ae8573b45542da05c99e8e2154032d606">IoCompleteFunc</a></div><div class="ttdeci">DWORD(* IoCompleteFunc)(OVERLAPPED_EX *oved)</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00017">SockData.h:17</a></div></div>
<div class="ttc" id="astruct_o_v_e_r_l_a_p_p_e_d___e_x_html_a2ef7c34ff54beccc35e7bf32818eebe8"><div class="ttname"><a href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a2ef7c34ff54beccc35e7bf32818eebe8">OVERLAPPED_EX::delete_class_copy_operator</a></div><div class="ttdeci">delete_class_copy_operator(OVERLAPPED_EX)</div></div>
<div class="ttc" id="astruct_o_v_e_r_l_a_p_p_e_d___e_x_html_af43b0c52ffac00885b8bd2294cd1056a"><div class="ttname"><a href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#af43b0c52ffac00885b8bd2294cd1056a">OVERLAPPED_EX::OVERLAPPED_EX</a></div><div class="ttdeci">OVERLAPPED_EX()</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00085">SockData.h:85</a></div></div>
<div class="ttc" id="astruct_socket_data_html_a4ffff3c8536ece3b087e0ff5c4827b8e"><div class="ttname"><a href="struct_socket_data.html#a4ffff3c8536ece3b087e0ff5c4827b8e">SocketData::_pServer</a></div><div class="ttdeci">CBasicService * _pServer</div><div class="ttdoc">绑定的tcp服务基类</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00036">SockData.h:36</a></div></div>
<div class="ttc" id="atools_8h_html_af632da489ebc3708ec3ab6791ee53fa4"><div class="ttname"><a href="tools_8h.html#af632da489ebc3708ec3ab6791ee53fa4">ULONG</a></div><div class="ttdeci">unsigned long ULONG</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00136">tools.h:136</a></div></div>
<div class="ttc" id="atools_8h_html_ac909db71799bb22cb7d636a34cd785e4"><div class="ttname"><a href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div><div class="ttdeci">#define DEF_END_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00038">tools.h:38</a></div></div>
<div class="ttc" id="astruct_socket_data_html_aa0eb63e369865fb4ac2fde0bd0b98630"><div class="ttname"><a href="struct_socket_data.html#aa0eb63e369865fb4ac2fde0bd0b98630">SocketData::_pServerBuf</a></div><div class="ttdeci">SharedPtr&lt; SockDataBuffer &gt; _pServerBuf</div><div class="ttdoc">内部使用</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00035">SockData.h:35</a></div></div>
<div class="ttc" id="astruct_o_v_e_r_l_a_p_p_e_d___e_x_html"><div class="ttname"><a href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html">OVERLAPPED_EX</a></div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00063">SockData.h:63</a></div></div>
<div class="ttc" id="astruct_socket_data_html_ad15841c2a9a6343850b9c6885159a7f7"><div class="ttname"><a href="struct_socket_data.html#ad15841c2a9a6343850b9c6885159a7f7">SocketData::_protocol</a></div><div class="ttdeci">SOCKPROTOCOL::SockProtocol _protocol</div><div class="ttdoc">套接字协议</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00033">SockData.h:33</a></div></div>
<div class="ttc" id="astruct_udp_socket_data_html_a13f708ce94bacb45ae75cc55fd2a327b"><div class="ttname"><a href="struct_udp_socket_data.html#a13f708ce94bacb45ae75cc55fd2a327b">UdpSocketData::~UdpSocketData</a></div><div class="ttdeci">virtual ~UdpSocketData()</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00058">SockData.h:58</a></div></div>
<div class="ttc" id="astruct_socket_data_html"><div class="ttname"><a href="struct_socket_data.html">SocketData</a></div><div class="ttdoc">套接口数据</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00029">SockData.h:29</a></div></div>
<div class="ttc" id="aclass_shared_ptr_html_a0b0a4c8396bf40f91994f729855c0a5a"><div class="ttname"><a href="class_shared_ptr.html#a0b0a4c8396bf40f91994f729855c0a5a">SharedPtr::Reset</a></div><div class="ttdeci">void Reset(Ty *p)</div><div class="ttdef"><b>Definition:</b> <a href="_shared_ptr_8h_source.html#l00175">SharedPtr.h:175</a></div></div>
<div class="ttc" id="astruct_socket_data_html_a96788b03903c266a6bc93a639c7ccb8e"><div class="ttname"><a href="struct_socket_data.html#a96788b03903c266a6bc93a639c7ccb8e">SocketData::_sockaddr</a></div><div class="ttdeci">CSockAddr _sockaddr</div><div class="ttdoc">地址信息</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00034">SockData.h:34</a></div></div>
<div class="ttc" id="asocket_2internal_2_macro_tools_8h_html"><div class="ttname"><a href="socket_2internal_2_macro_tools_8h.html">MacroTools.h</a></div></div>
<div class="ttc" id="atools_8h_html_aa93f0eb578d23995850d61f7d61c55c1"><div class="ttname"><a href="tools_8h.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a></div><div class="ttdeci">#define FALSE</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00148">tools.h:148</a></div></div>
<div class="ttc" id="a_sock_data_8h_html_a815b52d96de953649d002f722249f797"><div class="ttname"><a href="_sock_data_8h.html#a815b52d96de953649d002f722249f797">IsWaitAcceptsEnd</a></div><div class="ttdeci">bool IsWaitAcceptsEnd(SocketData &amp;svrSock, const std::list&lt; SocketData * &gt;::iterator &amp;it)</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8cpp_source.html#l00026">SockData.cpp:26</a></div></div>
<div class="ttc" id="astruct_o_v_e_r_l_a_p_p_e_d___e_x_html_a60989ff49c61b6097ad26be2e39c9409"><div class="ttname"><a href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a60989ff49c61b6097ad26be2e39c9409">OVERLAPPED_EX::OVERLAPPED_EX</a></div><div class="ttdeci">OVERLAPPED_EX(const SharedPtr&lt; SocketData &gt; &amp;ref)</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00079">SockData.h:79</a></div></div>
<div class="ttc" id="astruct_o_v_e_r_l_a_p_p_e_d___e_x_html_ac5d94946afe9714b23a45fce22793b05"><div class="ttname"><a href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#ac5d94946afe9714b23a45fce22793b05">OVERLAPPED_EX::svrSockData</a></div><div class="ttdeci">SocketData * svrSockData</div><div class="ttdoc">受监听的套接字，存储该套接字与之绑定</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00077">SockData.h:77</a></div></div>
<div class="ttc" id="atools_8h_html_a798af1e30bc65f319c1a246cecf59e39"><div class="ttname"><a href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a></div><div class="ttdeci">unsigned int DWORD</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00134">tools.h:134</a></div></div>
<div class="ttc" id="astruct_sock_data_buffer_html_ad55d617e02e179fee61f103f1c7e2034"><div class="ttname"><a href="struct_sock_data_buffer.html#ad55d617e02e179fee61f103f1c7e2034">SockDataBuffer::waitAccepts</a></div><div class="ttdeci">std::list&lt; SocketData * &gt; waitAccepts</div><div class="ttdoc">接收队列(服务端套接字使用)</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00113">SockData.h:113</a></div></div>
<div class="ttc" id="astruct_o_v_e_r_l_a_p_p_e_d___e_x_html_af6f83c80e48e0529d05206e52b3a2393"><div class="ttname"><a href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#af6f83c80e48e0529d05206e52b3a2393">OVERLAPPED_EX::Clear</a></div><div class="ttdeci">void Clear()</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00090">SockData.h:90</a></div></div>
<div class="ttc" id="atools_8h_html_ac3247c51e4e3de674affb32998e133e2"><div class="ttname"><a href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a></div><div class="ttdeci">unsigned int BOOL</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00137">tools.h:137</a></div></div>
<div class="ttc" id="atools_8h_html_ab689500aaec0db066e3ac9483d3fe425"><div class="ttname"><a href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a></div><div class="ttdeci">#define NullPtr</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00119">tools.h:119</a></div></div>
<div class="ttc" id="atools_8h_html_aff55fe551a9992a54ec54621c524d0a4"><div class="ttname"><a href="tools_8h.html#aff55fe551a9992a54ec54621c524d0a4">SOCKET</a></div><div class="ttdeci">#define SOCKET</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00217">tools.h:217</a></div></div>
<div class="ttc" id="astruct_socket_data_html_a62c02017570cd96f26a03cd06f4e4241"><div class="ttname"><a href="struct_socket_data.html#a62c02017570cd96f26a03cd06f4e4241">SocketData::_sock</a></div><div class="ttdeci">SOCKET _sock</div><div class="ttdoc">套接字</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00031">SockData.h:31</a></div></div>
<div class="ttc" id="astruct_o_v_e_r_l_a_p_p_e_d___e_x_html_a614e5742d57e4905fdf46b8727486b5e"><div class="ttname"><a href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a614e5742d57e4905fdf46b8727486b5e">OVERLAPPED_EX::sockStatus</a></div><div class="ttdeci">DWORD sockStatus</div><div class="ttdoc">套接口的状态</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00074">SockData.h:74</a></div></div>
<div class="ttc" id="astruct_sock_data_buffer_html_ae057d059b45c6cf2587678f081dfc23a"><div class="ttname"><a href="struct_sock_data_buffer.html#ae057d059b45c6cf2587678f081dfc23a">SockDataBuffer::SockDataBuffer</a></div><div class="ttdeci">SockDataBuffer()</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00123">SockData.h:123</a></div></div>
<div class="ttc" id="atools_8h_html_ae1e6edbbc26d6fbc71a90190d0266018"><div class="ttname"><a href="tools_8h.html#ae1e6edbbc26d6fbc71a90190d0266018">UINT32</a></div><div class="ttdeci">unsigned int UINT32</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00140">tools.h:140</a></div></div>
<div class="ttc" id="aclass_c_basic_service_html"><div class="ttname"><a href="class_c_basic_service.html">CBasicService</a></div><div class="ttdoc">服务类 基类</div><div class="ttdef"><b>Definition:</b> <a href="_service_base_8h_source.html#l00015">ServiceBase.h:15</a></div></div>
<div class="ttc" id="astruct_o_v_e_r_l_a_p_p_e_d___e_x_html_a29eca265ddf9e8858e7360a27004866b"><div class="ttname"><a href="struct_o_v_e_r_l_a_p_p_e_d___e_x.html#a29eca265ddf9e8858e7360a27004866b">OVERLAPPED_EX::sockError</a></div><div class="ttdeci">CSockError sockError</div><div class="ttdoc">错误码</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00075">SockData.h:75</a></div></div>
<div class="ttc" id="astruct___w_s_a_b_u_f_html_a018f049fe75c6f822a1765f16fdcb1f6"><div class="ttname"><a href="struct___w_s_a_b_u_f.html#a018f049fe75c6f822a1765f16fdcb1f6">_WSABUF::buf</a></div><div class="ttdeci">CHAR * buf</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00022">SockData.h:22</a></div></div>
<div class="ttc" id="astruct_udp_socket_data_html"><div class="ttname"><a href="struct_udp_socket_data.html">UdpSocketData</a></div><div class="ttdoc">UDP专用套接口数据</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00053">SockData.h:53</a></div></div>
<div class="ttc" id="astruct_socket_data_html_a4785e336958b99b727152864bcb6eb64"><div class="ttname"><a href="struct_socket_data.html#a4785e336958b99b727152864bcb6eb64">SocketData::_type</a></div><div class="ttdeci">SOCKTYPE::SockType _type</div><div class="ttdoc">套接字类型</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00032">SockData.h:32</a></div></div>
<div class="ttc" id="anamespace_s_o_c_k_e_t_s_t_a_t_u_s_html_a960fa087f22eb32da3c7d0c805be7876a5a76b20cc3c857f53d6e5e7e817c8959"><div class="ttname"><a href="namespace_s_o_c_k_e_t_s_t_a_t_u_s.html#a960fa087f22eb32da3c7d0c805be7876a5a76b20cc3c857f53d6e5e7e817c8959">SOCKETSTATUS::UNINIT</a></div><div class="ttdoc">未初始化</div><div class="ttdef"><b>Definition:</b> <a href="_socket_def_8h_source.html#l00087">SocketDef.h:87</a></div></div>
<div class="ttc" id="asocket_2internal_2_macro_tools_8h_html_a6a02b2d1d62293b20242e3dcfbdd0117a0fe13fc305ec60c5bb2c1cf11115ba4c"><div class="ttname"><a href="socket_2internal_2_macro_tools_8h.html#a6a02b2d1d62293b20242e3dcfbdd0117a0fe13fc305ec60c5bb2c1cf11115ba4c">op_size</a></div><div class="ttdef"><b>Definition:</b> <a href="socket_2internal_2_macro_tools_8h_source.html#l00026">MacroTools.h:26</a></div></div>
<div class="ttc" id="a_sock_data_8h_html_a8e93d7214f5f4c092164fb0d3ad223ea"><div class="ttname"><a href="_sock_data_8h.html#a8e93d7214f5f4c092164fb0d3ad223ea">PushWaitAccepts</a></div><div class="ttdeci">void PushWaitAccepts(SocketData &amp;svrSock, SocketData &amp;cliSock)</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8cpp_source.html#l00031">SockData.cpp:31</a></div></div>
<div class="ttc" id="astruct_sock_data_buffer_html_a05c99f04823d5094237adaa232cf21e1"><div class="ttname"><a href="struct_sock_data_buffer.html#a05c99f04823d5094237adaa232cf21e1">SockDataBuffer::oved</a></div><div class="ttdeci">SharedPtr&lt; OVERLAPPED_EX &gt; oved</div><div class="ttdoc">投递连接、接收请求(客户端套接字使用)</div><div class="ttdef"><b>Definition:</b> <a href="_sock_data_8h_source.html#l00112">SockData.h:112</a></div></div>
<div class="ttc" id="astruct_udp_socket_data_html_acf66d1e7cff2aa5ee4990329bf25037a"><div class="ttname"><a href="struct_udp_socket_data.html#acf66d1e7cff2aa5ee4990329bf25037a">UdpSocketData::delete_class_copy_operator</a></div><div class="ttdeci">delete_class_copy_operator(UdpSocketData)</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
